Skip to content

Backport of Add SNI skip for client node configuration into release/1.1.x#2018

Merged
andrewstucki merged 2 commits intorelease/1.1.xfrom
backport/NET-2966/sni-fix-gateway-controller/manual
Mar 15, 2023
Merged

Backport of Add SNI skip for client node configuration into release/1.1.x#2018
andrewstucki merged 2 commits intorelease/1.1.xfrom
backport/NET-2966/sni-fix-gateway-controller/manual

Conversation

@andrewstucki
Copy link
Copy Markdown
Contributor

Backport

This PR is a manual backport from #2013 to release/1.1.x since the backport bot failed to generate a backport PR for it.

The below text is copied from the body of the original PR.


Changes proposed in this PR:

This adds a fix for where we were injecting an server name env variable to the gateway controller in the case of trying to connect to client agent nodes when we had an external server with an SNI override.

What that results in is a TLS certificate verification error because the controller, when attempting to talk to the client node, then winds up expecting the client certificate to match the external server's name.

How I've tested this PR:

Unit tested.

Checklist:

  • Tests added
  • CHANGELOG entry added

Overview of commits

@andrewstucki andrewstucki added pr/no-changelog PR does not need a corresponding .changelog entry pr/no-backport signals that a PR will not contain a backport label labels Mar 15, 2023
@andrewstucki andrewstucki merged commit 97f5fdb into release/1.1.x Mar 15, 2023
@andrewstucki andrewstucki deleted the backport/NET-2966/sni-fix-gateway-controller/manual branch March 15, 2023 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr/no-backport signals that a PR will not contain a backport label pr/no-changelog PR does not need a corresponding .changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants